-- *****************************************************************
-- REDSTONE-IP-PROFILE-MIB
--
-- Redstone Communications Inc. Enterprise MIB
-- IP Profile MIB
--
-- Copyright 1999-2000 Unisphere Solutions Inc.
-- All Rights Reserved.
-- *****************************************************************

REDSTONE-IP-PROFILE-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, 
    OBJECT-TYPE,
    Integer32,
    Unsigned32,
    IpAddress
        FROM SNMPv2-SMI

    DisplayString,
    RowStatus
        FROM SNMPv2-TC

    MODULE-COMPLIANCE, 
    OBJECT-GROUP  
        FROM SNMPv2-CONF

    InterfaceIndexOrZero
        FROM IF-MIB

    rsMgmt
                FROM REDSTONE-SMI

    RsEnable,
    RsName
        FROM REDSTONE-TC;


rsIpProfileMIB MODULE-IDENTITY
    LAST-UPDATED "200005080000Z"
    ORGANIZATION "Redstone Communications Inc."
        CONTACT-INFO
        "
        Redstone Communications, Inc.
                5 Carlisle Road
        Westford MA 01886
        USA
        Tel:    +1-978-692-1999
                Email:  mib@redstonecom.com
        "
        DESCRIPTION
                "The IP Profile MIB for the
                Redstone Communications Inc. enterprise."
        REVISION      "200005080000Z"
        DESCRIPTION
                "Obsoleted rsIpProfileLoopbackIfIndex, replaced with
        rsIpProfileLoopback."
        REVISION      "9908250000Z"
        DESCRIPTION
                "Initial version of this MIB module."
    ::= { rsMgmt 26 }


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Textual conventions
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- No textual conventions are currently defined.


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Managed object groups
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsIpProfileObjects              OBJECT IDENTIFIER ::= {rsIpProfileMIB 1}

rsIpProfile                     OBJECT IDENTIFIER ::= {rsIpProfileObjects 1 }

-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Managed objects for IP Profiles
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsIpProfileTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF RsIpProfileEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The entries in this table describe profiles for configuring 
        IP interfaces."
    ::= { rsIpProfile 1 }

rsIpProfileEntry OBJECT-TYPE
    SYNTAX      RsIpProfileEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "A profile describing configuration of an IP interface."
    INDEX { rsIpProfileId }
    ::= { rsIpProfileTable 1 }

RsIpProfileEntry ::= SEQUENCE {
    rsIpProfileId                  Unsigned32,
    rsIpProfileRowStatus           RowStatus,
    rsIpProfileRouterName          RsName,
    rsIpProfileIpAddr              IpAddress,
    rsIpProfileIpMask              IpAddress,
    rsIpProfileDirectedBcastEnable RsEnable,
    rsIpProfileIcmpRedirectEnable  RsEnable,
    rsIpProfileAccessRoute         RsEnable,
    rsIpProfileMtu                 Integer32,
    rsIpProfileLoopbackIfIndex     InterfaceIndexOrZero,
    rsIpProfileLoopback            Integer32
}

rsIpProfileId OBJECT-TYPE
    SYNTAX      Unsigned32
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The integer identifier associated with this profile.
        A value for this identifier is determined by locating or creating
        a profile name in the rsProfileNameTable."
    ::= { rsIpProfileEntry 1 }

rsIpProfileRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Controls creation/deletion of entries in this table.
        Only the values 'createAndGo' and 'destroy' may be SET.
        
        The value of rsIpProfileId must match that of a profile
        name configured in rsProfileNameTable."
    ::= { rsIpProfileEntry 2 }

rsIpProfileRouterName OBJECT-TYPE
    SYNTAX      RsName
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The virtual router to which an IP interface configured by this 
        profile will be assigned, if other mechanisms do not otherwise
        specify a virtual router assignment."
    DEFVAL { "" }
    ::= { rsIpProfileEntry 3 }

rsIpProfileIpAddr OBJECT-TYPE
    SYNTAX      IpAddress
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "An IP address to be used by an IP interface configured by this
        profile. This object will have a value of 0.0.0.0 for an unnumbered
        interface."
    DEFVAL { 0 }
    ::= { rsIpProfileEntry 4 }

rsIpProfileIpMask OBJECT-TYPE
    SYNTAX      IpAddress
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "An IP address mask to be used by an IP interface configured by this
        profile. This object will have a value of 0.0.0.0 for an unnumbered
        interface."
    DEFVAL { 0 }
    ::= { rsIpProfileEntry 5 }

rsIpProfileDirectedBcastEnable OBJECT-TYPE
    SYNTAX      RsEnable
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Enable/disable forwarding of directed broadcasts on this 
        IP network interface."
    DEFVAL { disable }
    ::= { rsIpProfileEntry 6 }

rsIpProfileIcmpRedirectEnable OBJECT-TYPE
    SYNTAX      RsEnable
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Enable/disable transmission of ICMP Redirect messages on this
        IP network interface."
    DEFVAL { disable }
    ::= { rsIpProfileEntry 7 }

rsIpProfileAccessRoute OBJECT-TYPE
    SYNTAX      RsEnable
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Enable/disable whether a host route is automatically created
        for a remote host attached to an IP interface that is configured
        using this profile."
    DEFVAL { enable }
    ::= { rsIpProfileEntry 8 }

rsIpProfileMtu OBJECT-TYPE
    SYNTAX      Integer32(0 | 512..10240)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The configured MTU size for this IP network interface. If set to
        zero, the default MTU size, as determined by the underlying 
        network media, is used."
    DEFVAL { 0 } 
    ::= { rsIpProfileEntry 9 }

rsIpProfileLoopbackIfIndex OBJECT-TYPE
    SYNTAX      InterfaceIndexOrZero
    MAX-ACCESS  read-create
    STATUS      obsolete
    DESCRIPTION
        "For unnumbered interfaces, the IfIndex of the IP loopback interface 
        whose IP address is used as the source address for transmitted IP packets.
        A value of zero means the loopback interface is unspecified (e.g., when
        the interface is numbered)."
    DEFVAL { 0 }
    ::= { rsIpProfileEntry 10 }

rsIpProfileLoopback OBJECT-TYPE
    SYNTAX      Integer32(-1..2147483647)
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The number of the loopback interface, associated with the specified
        virtual router, whose IP address is used as the source address when 
        transmitting IP packets on unnumbered remote access user links.

        For example, if the loopback interface for the associated router
        was configured via the console as 'loopback 2', this object 
        would contain the integer value 2.

        A value of -1 indicates the loopback interface is unspecified, e.g.
        when the IP interface is numbered."
    DEFVAL { -1 }
    ::= { rsIpProfileEntry 11 }



-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Notification control objects
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- No notifications are defined in this MIB. Placeholder follows.

-- rsIpProfileTrapControl      OBJECT IDENTIFIER ::= { rsIpProfileMIB 2 }



-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Notifications
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

-- No notifications are defined in this MIB. Placeholder follows.

-- The following two OBJECT IDENTIFIERS are used to define SNMPv2 
-- Notifications that are easily translated into SNMPv1 Traps.

-- rsIpProfileTraps            OBJECT IDENTIFIER ::= { rsIpProfileMIB 3 }
-- rsIpProfileTrapPrefix       OBJECT IDENTIFIER ::= { rsIpProfileTraps 0 }



-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Conformance information
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

rsIpProfileMIBConformance
             OBJECT IDENTIFIER ::= { rsIpProfileMIB 4 }
rsIpProfileMIBCompliances
             OBJECT IDENTIFIER ::= { rsIpProfileMIBConformance 1 }
rsIpProfileMIBGroups
             OBJECT IDENTIFIER ::= { rsIpProfileMIBConformance 2 }


-- compliance statements

rsIpProfileCompliance MODULE-COMPLIANCE
    STATUS      obsolete
    DESCRIPTION
        "The compliance statement for systems supporting IP
        configuration profiles."
    MODULE  -- this module
    MANDATORY-GROUPS { rsIpProfileGroup }
    ::= { rsIpProfileMIBCompliances 1 }


rsIpProfileCompliance1 MODULE-COMPLIANCE
    STATUS      current
    DESCRIPTION
        "The compliance statement for systems supporting IP
        configuration profiles."
    MODULE  -- this module
    MANDATORY-GROUPS { rsIpProfileGroup1 }
    ::= { rsIpProfileMIBCompliances 2 }


-- units of conformance

rsIpProfileGroup OBJECT-GROUP
    OBJECTS {
        rsIpProfileRowStatus,
        rsIpProfileRouterName,
        rsIpProfileIpAddr,
        rsIpProfileIpMask,
        rsIpProfileDirectedBcastEnable,
        rsIpProfileIcmpRedirectEnable,
        rsIpProfileAccessRoute,
        rsIpProfileMtu,
        rsIpProfileLoopbackIfIndex
    }
    STATUS      obsolete
    DESCRIPTION
        "The basic collection of objects providing management
        of IP Profile functionality in a Redstone product."
    ::= { rsIpProfileMIBGroups 1 }

rsIpProfileGroup1 OBJECT-GROUP
    OBJECTS {
        rsIpProfileRowStatus,
        rsIpProfileRouterName,
        rsIpProfileIpAddr,
        rsIpProfileIpMask,
        rsIpProfileDirectedBcastEnable,
        rsIpProfileIcmpRedirectEnable,
        rsIpProfileAccessRoute,
        rsIpProfileMtu,
        rsIpProfileLoopback
    }
    STATUS      current
    DESCRIPTION
        "The basic collection of objects providing management
        of IP Profile functionality in a Redstone product."
    ::= { rsIpProfileMIBGroups 2 }

END